package com.food.service;

import com.food.configure.Result;
import com.food.entity.Material;
import com.baomidou.mybatisplus.extension.service.IService;
import com.food.entity.Material;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2021-04-04
 */
public interface MaterialService extends IService<Material> {

    Result<Material> updateMaterial(Material material);

    Result<Material> delMaterial(Material material);

    Result<Material> batchDelMaterial(Material material);

    Result<Material> queryMaterial(Material material);

    Result<Material> queryMaterialByPage(Material material);

    Result<Material> queryMaterialById(Material material);

}
